package com.maimao.model.order.vo;

import com.maimao.model.order.OrderShop;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 用户订单列表中需额外展示的字段
 *
 * @author MaoLin Wang
 * @date 2021/1/22 4:29 下午
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class OrderShopEx extends OrderShop {

    /**
     * 订单创建时间
     */
    private String createTime;

    /**
     * 买家名称 卖家订单查询展示
     */
    private String buyerName;

    private String shopName;

    /**
     * 订单类型
     */
    private Integer type;

    @Override
    public String toString() {
        return "OrderShopEx{" +
                "createTime=" + createTime +
                ", buyerName='" + buyerName + '\'' +
                ", shopName='" + shopName + '\'' +
                '}';
    }
}
